home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!netnews
- From: tetbrac@ix.netcom.com (Tetbrac )
- Newsgroups: comp.lang.c
- Subject: Re: naked virgin basic help needed for newbie
- Date: 21 Jan 1996 18:41:52 GMT
- Organization: Netcom
- Message-ID: <4du1dg$4pm@cloner3.netcom.com>
- References: <4dtvu4$da0@dub-news-svc-1.compuserve.com>
- NNTP-Posting-Host: ix-lex1-26.ix.netcom.com
- X-NETCOM-Date: Sun Jan 21 10:41:52 AM PST 1996
-
- In <4dtvu4$da0@dub-news-svc-1.compuserve.com>
- <102627.3053@compuserve.com> writes:
- >
- >
- >Can anyone tell me why my compiler is not recognizing int main
- (void)
- >or produces an error message at #include <stdio> as well as printf
- and
- >scanf. I admit this is my initial install and I'm sure its something
- very basic
-
- I think you mean: void main();
- When you #include a header file, you have to specify the entire file
- name such as #include <stdio.h>. Hope this helps.
- Tetbrac
-